From 82702fbe2d0607e7ca8a02c878b2e79a21664b7c Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 25 Jan 2022 11:45:11 +0100
Subject: chore: display total found posts in page meta

---
 src/pages/sujet/[slug].tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/pages/sujet/[slug].tsx')

diff --git a/src/pages/sujet/[slug].tsx b/src/pages/sujet/[slug].tsx
index ba65a27..028131b 100644
--- a/src/pages/sujet/[slug].tsx
+++ b/src/pages/sujet/[slug].tsx
@@ -47,6 +47,7 @@ const Topic: NextPageWithLayout<TopicProps> = ({ topic }) => {
 
   const meta: ArticleMeta = {
     dates: topic.dates,
+    results: topic.posts.length,
     website: topic.officialWebsite,
   };
   const topicUrl = `${config.url}${router.asPath}`;
-- 
cgit v1.2.3

